.chat-list {
  padding: 10px 16px 0px;
  li {
    position: relative;
    margin-bottom: 10px;
    &:before {
      content: '';
      position: absolute;
      width: 36px;
      height: 17px;
      left: 0;
      top: 0;
    }
    .avatar-img {
      float: left;
      width: 45px;
      height: 45px;
      border: 2px solid #fff;
      border-radius: 50%;
      img {
        width: 99%;
        height: 100%;
        border-radius: 90px;
      }
      .trigger-view {
        width: 100%;
        height: 100%;
        .ivu-poptip-rel{
          width: 100%;
          height: 100%;
        }
        .ivu-poptip-popper {
          min-width: 50px;
        }
        .trigger-view-list {
          font-size: 12px;
          text-align: center;
          display: block;
          padding: 3px 0;
          color: #666666;
          border-bottom: solid 1px #e2e2e2;
          &:last-child {
            border-bottom: none;
          }
        }
      }
    }
    .right-content {
      margin-left: 55px;
      position: relative;
      &:before {
        position: absolute;
        content: '';
        width: 0;
        height: 0;
        top: 12px;
        left: -6px;
        border-top: 5px solid transparent;
        border-bottom: 5px solid transparent;
      }
      .chat-content-text {
        padding: 4px 10px 2px;
        border-radius: 5px;
        display: inline-block;
        box-shadow: 1px 0px 15px 0px rgba(255, 255, 255, 0.4);
        .dialogue-name {
          padding-bottom: 4px;
          margin-bottom: 4px;
        }
      }
      .dialogue-tool {
        display: block;
        margin-top: 5px;
        span {
          display: inline-block;
          vertical-align: top;
          text-align: center;
          border-radius: 7px;
          cursor: pointer;
        }
        .verify {
          font-size: 12px;
          color: #88e48e;
          margin-right: 10px;
          > i {
            width: 12px;
            height: 12px;
            display: inline-block;
            margin-right: 3px;
            background: url("../../../static/img/shehe_icon.png");
            vertical-align: top;
            margin-top: 5px;
          }
        }
        .delete {
          font-size: 12px;
          margin-right: 10px;
          color: #ffcec8;
          > i {
            width: 10px;
            height: 11px;
            display: inline-block;
            margin-right: 3px;
            background: url("../../../static/img/del_icon.png");
          }
        }
        .reply {
          font-size: 12px;
          margin-right: 10px;
          color: #c4e0ff;
          > i {
            width: 13px;
            height: 10px;
            display: inline-block;
            margin-right: 3px;
            background: url("../../../static/img/pinglun_icon.png");
          }
        }
        .upload {
          font-size: 12px;
          color: #fff7dc;
          &:before {
            content: '';
            display: inline-block;
            width: 11px;
            height: 9px;
            margin-right: 3px;
            background: url("../../../static/img/upload_icon.png");
          }
        }
      }
    }
    &.dialogueMine {
      .avatar-img {
        float: right;
        img {
          width: 45px;
          height: 45px;
          border-radius: 90px;
        }
      }

      .dialogue-name {
        > em {
          color: #9d9d9d!important;
        }
        > span {
          color: #9d9d9d!important;
        }
      }
      .right-content {
        margin-right: 55px;
        &:before {
          border-right: 6px solid #edeef4;
        }
        .chat-content-text {
          background-color: #fff !important;
          .dialogue-name {
            border-bottom: solid 1px #ddd;
          }
        }
      }
      .right-content {
        &:before {
          left: auto;
          right: -6px;
          border-right: none;
          border-left: 6px solid #ebecf1;
        }
      }

    }
    .celieinfoBox {
      border-radius: 5px;
      position: relative;
      width: 375px;
      margin-bottom: 20px;
      cursor: pointer;
      &.newclDiv {
        .celieTop {
          background: #1f75cd;
          .dakaInfo {
            .dakatime {
              color: #7abcff;
            }
          }
        }
        .celieottom {
          background: #f2f5ff;
          .newclBox {
            >div{
              &:after {
                background-color: rgba(216, 220, 234, 0.6);
              }
              p {
                width: 75px;
                overflow: hidden;
                white-space: nowrap;
                text-overflow: ellipsis;
                text-align: center;
                &:first-child {
                  color: #578abd;
                }
              }
            }
          }
        }
      }
      &.zhuizongDiv {
        .celieTop {
          background: #f49d48;
          .dakaInfo {
            .dakatime {
              color: #ffe7cd;
            }
          }
        }
        .celieottom {
          background: #fffaf5;
          .newclBox {
            >div{
              &:after {
                background-color: #eddccb;
              }
              p {
                &:first-child {
                  color: #c98a54;
                }
              }
            }
          }
        }
      }
      &.profitDiv {
        .celieTop {
          background: #dd335a;
          .dakaInfo {
            .dakatime {
              color: #ffcdd9;
            }
          }
        }
        .celieottom {
          background: #fff6f8;
          .newclBox {
            >div{
              &:after {
                background-color: #f0d3d9;
              }
              p {
                &:first-child {
                  color: #d66780;
                }
              }
            }
          }
        }
      }
      &.seeOpenVip {
        &:hover {
          .noseeBg {
            display: block;
          }
        }
      }
      .noseeBg {
        width: 100%;
        height: 100%;
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        background-color: rgba(0, 0, 0, 0.1);
        border-radius: 5px;
        .openVIPbtn {
          font-size: 14px;
          color: #ffffff;
          width: 105px;
          height: 30px;
          background-color: #996c33;
          border-radius: 3px;
          line-height: 30px;
          text-align: center;
          top: 50px;
          left: 135px;
          cursor: pointer;
          position: absolute;
        }
        .loginyhbtn {
          font-size: 14px;
          color: #ffffff;
          width: 105px;
          height: 30px;
          background-color: #4b64c4;
          border-radius: 3px;
          line-height: 30px;
          text-align: center;
          top: 50px;
          left: 135px;
          cursor: pointer;
          position: absolute;
        }
      }
      .celieTop {
        width: 375px;
        height: 65px;
        border-radius: 5px 5px 0 0;
        padding: 10px;
        img {
          width: 45px;
          height: 45px;
          border: solid 1px #ffffff;
          border-radius: 50%;
          float: left;
        }
        .dakaInfo {
          float: left;
          margin-left: 18px;
          .dakaname {
            font-size: 14px;
            color: #fff;
            line-height: 18px;
            margin: 6px 0px;
            width: 160px;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            text-align: left;
          }
          .dakatime {
            font-size: 12px;
            line-height: 12px;
            text-align: left;
          }
        }
        i {
          float: right;
          margin-top: 10px;
          margin-right: 10px;
          &.zhuizong {
            width: 102px;
            height: 23px;
            background: url("../../../static/img/zhuizong.png");
          }
          &.newcl {
            width: 84px;
            height: 23px;
            background: url("../../../static/img/newcl.png");
          }
          &.profit {
            width: 65px;
            height: 23px;
            background: url("../../../static/img/profit.png");
          }
        }
      }
      .celieottom {
        width: 375px;
        border-radius: 0px 0px 5px 5px;
        .newclBox {
          width: 100%;
          height: 100%;
          display: flex;
          padding: 0 0px 5px;
          >div{
            flex: 1;
            position: relative;
            &:after {
              content: '';
              width: 1px;
              height: 26px;
              position: absolute;
              right: 0;
              top: 16px;
            }
            &:last-child {
              &:after {
                width: 0;
              }
            }
            p {
              width: 75px;
              overflow: hidden;
              white-space: nowrap;
              text-overflow: ellipsis;
              text-align: center;
              &:first-child {
                font-size: 14px;
                line-height: 16px;
                margin: 6px 0 4px;
              }
              &:last-child{
                font-size: 12px;
                color: #444;
                line-height: 14px;
              }
            }
          }
        }
        .trackBox {
          width: 100%;
          height: 43px;
          padding: 5px 10px 0;
          font-size: 12px;
          color: #505050;
          line-height: 18px;
          overflow: hidden;
          text-overflow: ellipsis;
          display: -webkit-box;
          -webkit-line-clamp: 2;
          -webkit-box-orient: vertical;
        }
      }
      .wenxinTS {
        font-size: 12px;
        color: #e1e1e1;
        margin-top: 10px;
      }
    }
  }

}

.userLv1 { /*普通用户*/
  .dialogue-name {
    > em {
      color: #5f6886;
    }
    > span {
      color: #5f6886;
    }
  }
  .right-content {
    &:before {
      border-right: 6px solid #f4f8ff;
    }
    .chat-content-text {
      background-color: #fff !important;
      .dialogue-name {
        border-bottom: solid 1px #afb8d7;
      }
    }
  }
}

.userKf { /*客服*/
  .dialogue-name {
    > em {
      color: #fe5a5f!important;
    }
    > span {
      color: #fe5a5f!important;
    }
  }
  .right-content {
    &:before {
      border-right: 6px solid #ffe8e9;
    }
    .chat-content-text {
      background-color: #fff !important;
      .dialogue-name {
        border-bottom: solid 1px #eaa9ab;
      }
    }
  }
}

li {
  &.userVip1{
    &.dialogueJoin:before {
      top: 0px;
    }
    .avatar-img {
      position: relative;
      border: 2px solid #eba179!important;
      border-radius: 50%;
      &:before {
        position: absolute;
        bottom: 0px;
        right: -8px;
        content: '';
        width: 23px;
        height: 16px;
        z-index: 1;
        background: url("../../../static/img/tiyan.png");
      }
    }
    .dialogue-name {
      > em {
        color: #f67324;
      }
      > span {
        color: #e5723a;
      }
    }
    .right-content {
      &:before {
        border-right: 6px solid #ffeade;
      }
      .chat-content-text {
        background-color: #fff !important;
        .dialogue-name {
          border-bottom: solid 1px #e9bba0;
        }
      }
    }
  }
  &.userVip2{
    &.dialogueJoin:before {
      top: 0px;
    }
    .avatar-img {
      position: relative;
      border: 2px solid #ffd231!important;
      border-radius: 50%;
      &:before {
        position: absolute;
        bottom: 0px;
        right: -8px;
        content: '';
        width: 22px;
        height: 15px;
        z-index: 1;
        background: url("../../../static/img/huangjin.png");
      }
    }
    .dialogue-name {
      > em {
        color: #d76000;
      }
      > span {
        color: #d76000;
      }
    }
    .right-content {
      &:before {
        border-right: 6px solid #fff6e2;
      }
      .chat-content-text {
        background-color: #fff !important;
        .dialogue-name {
          border-bottom: solid 1px #f2c89d;
        }
      }
    }
  }
  &.userVip3{
    &.dialogueJoin:before {
      top: 0px;
    }
    .avatar-img {
      position: relative;
      border: 2px solid #007ae1!important;
      border-radius: 50%;
      &:before {
        position: absolute;
        bottom: 0px;
        right: -8px;
        content: '';
        width: 23px;
        height: 16px;
        z-index: 1;
        background: url("../../../static/img/baijin.png");
      }
    }
    .dialogue-name {
      > em {
        color: #2b74ce;
      }
      > span {
        color: #2b74ce;
      }
    }
    .right-content {
      &:before {
        border-right: 6px solid #f3fbff;
      }
      .chat-content-text {
        background-color: #fff !important;
        .dialogue-name {
          border-bottom: solid 1px #b2cfdf;
        }
      }
    }
  }
  &.userVip4{
    &.dialogueJoin:before {
      top: 0px;
    }
    .avatar-img {
      position: relative;
      border: 2px solid #e79027!important;
      border-radius: 50%;
      &:before {
        position: absolute;
        bottom: 0px;
        right: -8px;
        content: '';
        width: 23px;
        height: 16px;
        z-index: 1;
        background: url("../../../static/img/zuansi.png");
      }
    }
    .dialogue-name {
      > em {
        color: #424f70;
      }
      > span {
        color: #424f70;
      }
    }
    .right-content {
      &:before {
        border-right: 6px solid #f3fbff;
      }
      .chat-content-text {
        background-color: #fff !important;
        .dialogue-name {
          border-bottom: solid 1px #bec6db;
        }
      }
    }
  }
}

.users {
  .userVip1 {
    .avatar-img {
      position: relative;
      z-index: 1;
    }
    p {
      color: #ff7827;
      border-radius: 13px;
    }
    &:before {
      top: 0;
      height: 29px;
    }
  }
  .userVip2 {
    .avatar-img {
      position: relative;
      z-index: 1;
    }
    p {
      color: #ffd231;
      border-radius: 13px;
    }
    &:before {
      top: 0;
      height: 29px;
    }
  }
  .userVip3 {
    .avatar-img {
      position: relative;
      z-index: 1;
    }
    p {
      color: #328fff;
      border-radius: 13px;
    }
    &:before {
      top: 0;
      height: 29px;
    }
  }
  .userVip4 {
    .avatar-img {
      position: relative;
      z-index: 1;
    }
    p {
      color: #89aaff;
      border-radius: 13px;
    }
    &:before {
      top: 0;
      height: 29px;
    }
  }
}

.pc-header.userVip {
  color: #e2640e;
  &:before {
    background-image: url("../../assets/img/identity/vip.png");
    height: 29px;
    top: 10px;
  }
}

.dialogue-con {
  overflow: hidden;
}

.dialogue-name {
  line-height: 20px;
  margin-bottom: 5px;
  color: #3B6DD2;
  > em {
    cursor: pointer;
    float: left;
    font-size: 14px;
    margin-right: 10px;
  }
  > span {
    color: #999999;
    float: right;
    font-size: 12px;
  }
}

.dialogue-btn {
  font-size: 14px;
  a {
    display: block;
    color: #74C8F9;
  }
}

.dialogue-txt {
  line-height: 22px;
  max-width: 380px;
  text-align: justify;
  word-wrap: break-word;
  word-break: normal;
  overflow: hidden;
  .buleClick {
    color: #3c92e8;
    text-decoration: underline;
  }
  img {
    max-height: 130px;
    margin-bottom: 6px;
  }
}

.reply-name {
  font-size: 12px;
  text-align: justify;
  word-break: break-all;
  em {
    color: #1968b1;
  }
}

.reply-txt {
  line-height: 22px;
  max-width: 380px;
  text-align: justify;
  word-break: break-all;
  padding-bottom: 5px;
  border-bottom: 1px dashed #d5d5d5;
  margin-bottom: 5px;
  color: #666;
  font-size: 12px;
  &:before {
    content: '“';
    font-size: 30px;
    margin-right: 10px;
  }
  &:after {
    content: '”';
    font-size: 30px;
    margin-left: 10px;
  }
  p {
    display: inline-block;
  }
}

li.dialogueMine {
  text-align: right;
  &:before {
    left: auto;
    right: 0;
  }
}
.dialogue-join {
  width: 100%;
  height: 100%;
  font-size: 14px;
  color: #bfcefe;
  white-space: nowrap;
  line-height: 52px;
  text-align: center;
  background: url("../../../static/img/ptjc.png");
  .name {
    font-weight: normal;
    display: inline-block;
    font-stretch: normal;
    margin-right: 5px;
    color: #fff;
  }
  &.vipx {
    background: url("../../../static/img/VIPjc.png");
    color: #ffe3c2;
  }
}
li.dialogueJoin {
  &:before {
    top: 13px;
  }
}

.dialogue-gift {
  color: #BD8B1F;
  img {
    display: inline-block;
    height: 60px;
    vertical-align: bottom;
  }
}

li.giftItem {
  &:before {
    top: auto;
    bottom: 4px;
  }
}
